package cn.sunxyz.sample.service;

import cn.sunxyz.core.bean.annotation.Component;
import cn.sunxyz.core.ioc.annotation.Inject;

/**
 * Created by yangrd on 2017/5/25.
 */
@Component
public class UserService {
    @Inject
    private CarService carService;

    public void carRun() {
        System.out.println("user=>");
        carService.run();
    }
}
